package org.chenmin.tip.client.application.fileuploader;

import org.chenmin.tip.client.place.NameTokens;

import com.google.inject.Inject;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.NameToken;
import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
import com.gwtplatform.mvp.client.proxy.ProxyPlace;

public class FileUploaderPresenter extends Presenter<FileUploaderPresenter.MyView, FileUploaderPresenter.MyProxy> {
	interface MyView extends View {
	}

	@NameToken(NameTokens.fileuploader)
	@ProxyCodeSplit
	interface MyProxy extends ProxyPlace<FileUploaderPresenter> {
	}

	@Inject
	FileUploaderPresenter(EventBus eventBus, MyView view, MyProxy proxy) {
		// super(eventBus, view, proxy,
		// ApplicationPresenter.SLOT_SetMainContent);
		super(eventBus, view, proxy, RevealType.Root);
	}

}